package com.wyh.order.api;

import com.wyh.product.api.ProductInterface;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient(value = "product-service",path = "product")
public interface OpenFeignAPI extends ProductInterface {
//    @RequestMapping("/{productId}")
//    ProductInfo selectProductById(@PathVariable("productId")Integer productId);
//
//    @RequestMapping("/p1")
//    public String p1 (@RequestParam("s") String s);
//
//    @RequestMapping("p2")
//    public String p2 (@RequestParam("s") String s, @RequestParam("i") Integer i);
//
//    @RequestMapping("p3")
//    public String p3 (@SpringQueryMap ProductInfo p);
//
//    @RequestMapping("p4")
//    public String p4 (@RequestBody ProductInfo p);
}
